package com.aizuda.boot.modules.business.feishu.domain.approval;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

import java.util.List;

/**
 * @Author sangyirong
 * @ClassName CreateApprovalDTO
 * @Version 1.0
 * @Date 2025/7/23 10:22
 */
@Data
public class CreateApprovalDTO {

    @Schema(description = "审批名称")
    @NotNull(message = "审批名称不能为空")
    private String approvalName;

    @Schema(description = "审批编码")
    @NotNull(message = "审批编码不能为空")
    private String approvalCode;

    @Schema(description = "审批分组名称")
    @NotNull(message = "审批分组名称不能为空")
    private String groupName;

    @Schema(description = "审批分组编码")
    @NotNull(message = "审批分组编码不能为空")
    private String groupCode;

    @Schema(description = "审批描述")
    private String description;

    @Schema(description = "业务类型")
    private String bizType;

    @Schema(description = "审批定义管理员")
    private List<String> openId;

    @Schema(description = "租户key")
    private String tenantKey;

}
